<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 skin-theme-clientpref-day vector-sticky-header-enabled" lang="de" dir="ltr"><head>
<meta charset="UTF-8">
<title>Shred</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://de.wikipedia.org/wiki/Shred"> <link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link href="./_mw_/ext.gadget.citeRef.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.defaultPlainlinks.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiCommonHide.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiCommonLayout.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiCommonStyle.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiDarkmode.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiResponsive.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.specialSearch.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Shred rootpage-Shred skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">shred</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="de" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="de" dir="ltr">
<p><b>shred</b> ist ein Programm, das unter <a href="Unixoides_System" title="Unixoides System">unixoiden Systemen</a> sicheres Löschen von <a href="Datei" title="Datei">Dateien</a> auf Datenträgern ermöglichen soll. Dabei werden verschiedene Methoden wie mehrfaches Überschreiben mit Bitmustern oder Zufallswerten angewendet, um eine Wiederherstellung von gelöschten Daten zu erschweren oder (aus praktischer Sicht) gar unmöglich zu machen.
Der Befehl gehört zu den <a href="GNU_Core_Utilities" title="GNU Core Utilities">GNU Core Utilities</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Einschränkungen"><span id="Einschr.C3.A4nkungen"></span>Einschränkungen</h2></div>
<p><i>shred</i> kann seine Wirkung aufgrund technischer Umstände nicht auf allen <a href="Dateisystem" title="Dateisystem">Dateisystemen</a> entfalten. Unter anderem in den folgenden Situationen können Daten nicht zuverlässig sicher gelöscht werden:
</p>
<ul><li>Wenn das Dateisystem <i>copy on write</i> Semantik implementiert, zum Beispiel <a href="ZFS_(Dateisystem)" title="ZFS (Dateisystem)">ZFS</a></li>
<li>Wenn ein Log-strukturiertes oder „<a href="Journaled_File_System" title="Journaled File System">journaled</a>“ Dateisystemen zum Einsatz kommt, zum Beispiel <a href="Journaled_File_System" title="Journaled File System">JFS</a>, <a href="ReiserFS" class="mw-redirect" title="ReiserFS">ReiserFS</a> und <a href="XFS_(Dateisystem)" title="XFS (Dateisystem)">XFS</a>.</li>
<li>Wenn die Dateien auf einem <a href="RAID" title="RAID">RAID</a>-System (ein Festplattenverbund) abgelegt waren.</li>
<li>Bei Dateisystemen, die <a href="Schnappschuss_(Informationstechnik)#In_Dateisystemen" title="Schnappschuss (Informationstechnik)">Schnappschüsse</a> <i>(snapshots)</i> erstellen.</li>
<li>Bei komprimierten Dateisystemen.</li>
<li>Bei <a href="Dateisystem#Netzwerkdateisysteme" title="Dateisystem">Netzwerkdateisystemen</a>.</li>
<li>Bei Dateisystemen auf bestimmten <a href="Flash-Speicher" title="Flash-Speicher">Flash-Speichern</a>, bei denen <a href="Wear-Leveling" class="mw-redirect" title="Wear-Leveling">Wear-Leveling</a>-Algorithmen dafür sorgen, dass beim Überschreiben vorhandener Daten diese an einer anderen physischen Adresse des Speichers abgelegt werden.</li></ul>
<div class="mw-heading mw-heading2"><h2 id="Siehe_auch">Siehe auch</h2></div>
<ul><li><a href="Wipe" title="Wipe">Wipe</a>, eine ähnliche Software</li></ul>
<div class="mw-heading mw-heading2"><h2 id="Andere_Bedeutung">Andere Bedeutung</h2></div>
<p>Der Begriff <i>Shred</i> wird auch für eine bestimmte Art des <a href="Gitarre" title="Gitarre">Gitarrenspiels</a> verwendet, siehe dazu <a href="Shredding" title="Shredding">Shredding</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Weblinks">Weblinks</h2></div>
<ul><li><code><a rel="nofollow" class="external text" href="http://manpages.debian.org/cgi-bin/man.cgi?apropos=0&format=html&query=shred&sektion=1&locale=de">shred(1)</a></code>: Eine Datei überschreiben, um den Inhalt zu verstecken und optional zu löschen – <a href="Debian" title="Debian">Debian GNU/Linux</a> Ausführbare Programme oder Shell-Befehle <a href="Manpage" title="Manpage">Handbuchseite</a></li>
<li><a rel="nofollow" class="external text" href="http://www.gnu.org/software/coreutils/manual/coreutils.html#shred-invocation">Befehlsbeschreibung in der GNU Coreutils Dokumentation</a></li>
<li><a rel="nofollow" class="external text" href="http://gnuwin32.sourceforge.net/packages/coreutils.htm#shred-win32">shred für Win32 in den GnuWin32 Coreutils for Windows</a></li></ul>
<style data-mw-deduplicate="TemplateStyles:r261921266">
/* start https://de.wikipedia.org/ */
.mw-parser-output table.erw-nav-zebra>tbody>:nth-child(odd){background-color:var(--dewiki-hintergrundfarbe-basis)}.mw-parser-output .erw-nav-farbschema-blau .erw-nav-leiste{background-color:#f5f5f5}.mw-parser-output .erw-nav-farbschema-blau .erw-nav-gruppe{background-color:#e5ecf2}.mw-parser-output .erw-nav-farbschema-grau .erw-nav-leiste,.mw-parser-output .erw-nav-farbschema-grau .erw-nav-gruppe{background-color:#ececec}.mw-parser-output .erweiterte-navigationsleiste .klappleiste-inhalt>.wikitable>*>tr{border-top:2px solid #fdfdfd!important;border-bottom:2px solid #fdfdfd!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .erw-nav-farbschema-blau .erw-nav-leiste,html.skin-theme-clientpref-night .mw-parser-output .erw-nav-farbschema-blau .erw-nav-gruppe,html.skin-theme-clientpref-night .mw-parser-output .erw-nav-farbschema-grau .erw-nav-leiste,html.skin-theme-clientpref-night .mw-parser-output .erw-nav-farbschema-grau .erw-nav-gruppe{background-color:#202122}html.skin-theme-clientpref-night .mw-parser-output .erweiterte-navigationsleiste .klappleiste-inhalt .wikitable tr,html.skin-theme-clientpref-night .mw-parser-output .erweiterte-navigationsleiste .klappleiste-inhalt .wikitable td{border-color:#101418!important}html.skin-theme-clientpref-night .mw-parser-output .erw-nav-bild span[typeof="mw:File"] img{background-color:#c8ccd1}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .erw-nav-farbschema-blau .erw-nav-leiste,html.skin-theme-clientpref-os .mw-parser-output .erw-nav-farbschema-blau .erw-nav-gruppe,html.skin-theme-clientpref-os .mw-parser-output .erw-nav-farbschema-grau .erw-nav-leiste,html.skin-theme-clientpref-os .mw-parser-output .erw-nav-farbschema-grau .erw-nav-gruppe{background-color:#202122}html.skin-theme-clientpref-os .mw-parser-output .erweiterte-navigationsleiste .klappleiste-inhalt .wikitable tr,html.skin-theme-clientpref-os .mw-parser-output .erweiterte-navigationsleiste .klappleiste-inhalt .wikitable td{border-color:#101418!important}html.skin-theme-clientpref-os .mw-parser-output .erw-nav-bild span[typeof="mw:File"] img{background-color:#c8ccd1}}.mw-parser-output .erweiterte-navigationsleiste .hlist .wikitable{border-top:0px!important;border-bottom:0px!important;margin-top:0!important;margin-bottom:0!important}.mw-parser-output .erweiterte-navigationsleiste .hlist .wikitable tr:first-of-type td{border-top:0px!important}.mw-parser-output .erweiterte-navigationsleiste .hlist .wikitable tr:last-of-type td{border-bottom:0px!important}
/* end https://de.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r260755238">
/* start https://de.wikipedia.org/ */
.mw-parser-output div.klappleiste{border:1px solid var(--dewiki-rahmenfarbe1);clear:both;font-size:95%;box-sizing:border-box;margin-top:1.5em;padding:2px}.mw-parser-output div.klappleiste:after{clear:both;content:"";display:block}.mw-parser-output div.klappleiste-bild{float:left;padding:2px}.mw-parser-output div.klappleiste-kopf{background:var(--dewiki-hintergrundfarbe5);color:var(--color-base,#202122);text-align:center;font-weight:bold}.mw-parser-output div.klappleiste.mw-collapsed .klappleiste-bild{display:none}.mw-parser-output div.klappleiste+div.klappleiste,.mw-parser-output div.klappleiste+link+div.klappleiste,.mw-parser-output div.klappleiste+link+link+div.klappleiste,.mw-parser-output div.klappleiste+link+style+div.klappleiste,.mw-parser-output div.klappleiste+style+div.klappleiste,.mw-parser-output div.klappleiste+style+style+div.klappleiste,.mw-parser-output div.klappleiste+style+link+div.klappleiste{margin-top:-1px}@media screen{html.skin-theme-clientpref-night .mw-parser-output .klappleiste-bild span[typeof="mw:File"]:not(.skin-invert-image) img{background-color:#c8ccd1}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .klappleiste-bild span[typeof="mw:File"]:not(.skin-invert-image) img{background-color:#c8ccd1}}
/* end https://de.wikipedia.org/ */
</style>
<div class="klappleiste mw-collapsible navileiste erweiterte-navigationsleiste navigation-not-searchable center erw-nav-farbschema-blau" role="navigation">
<div class="klappleiste-kopf"><a href="Unix" title="Unix">Unix</a>-Befehle der <a href="GNU_Core_Utilities" title="GNU Core Utilities">GNU Core Utilities</a></div>
<div class="klappleiste-inhalt mw-collapsible-content" style="clear:left">
<table class="wikitable erw-nav-zebra" style="width:100%;margin:0;text-align:left;font-size:95%;margin-top:.1em;margin-bottom:.0em;">
<tbody><tr>
<td class="erw-nav-gruppe" style="white-space: nowrap;text-align: right;border: 1px solid transparent;border-top: 1px solid #FFF;border-bottom: 2px solid #FFF;padding: 0 1em;"><b>Dateien</b>
</td>
<td class="hlist" style="text-align: left;border-left: 2px solid #fdfdfd;width: 100%;margin: .4em 0;border-color: #fdfdfd;padding: 0 .25em;">
<p><a href="Chgrp" class="mw-redirect" title="Chgrp">chgrp</a> |
<a href="Chown_(Unix)" title="Chown (Unix)">chown</a> |
<a href="Chmod" title="Chmod">chmod</a> |
<a href="Cp_(Unix)" title="Cp (Unix)">cp</a> |
<a href="Dd_(Unix)" title="Dd (Unix)">dd</a> |
<a href="Df_(Unix)" title="Df (Unix)">df</a> |
<a href="Dir_(Kommandozeilenbefehl)#Andere_Befehlszeileninterpreter" title="Dir (Kommandozeilenbefehl)">dir</a> |
dircolors |
install |
<a href="Ln_(Unix)" title="Ln (Unix)">ln</a> |
<a href="Ls_(Unix)" title="Ls (Unix)">ls</a> |
<a href="Mkdir" title="Mkdir">mkdir</a> |
mkfifo |
mknod |
<a href="Mv_(Unix)" title="Mv (Unix)">mv</a> |
<a href="Rm_(Unix)" title="Rm (Unix)">rm</a> |
<a href="Rmdir" title="Rmdir">rmdir</a> |
<a class="mw-selflink selflink">shred</a> |
sync |
<a href="Touch_(Unix)" title="Touch (Unix)">touch</a> |
vdir
</p>
</td></tr>
<tr>
<td class="erw-nav-gruppe" style="white-space: nowrap;text-align: right;border: 1px solid transparent;border-top: 1px solid #FFF;border-bottom: 2px solid #FFF;padding: 0 1em;"><b>Text</b>
</td>
<td class="hlist" style="text-align: left;border-left: 2px solid #fdfdfd;width: 100%;margin: .4em 0;border-color: #fdfdfd;padding: 0 .25em;">
<p><a href="Awk" title="Awk">awk</a> |
<a href="Cat_(Unix)" title="Cat (Unix)">cat</a> |
cksum |
comm |
csplit |
<a href="Cut_(Unix)" title="Cut (Unix)">cut</a> |
expand |
fmt |
fold |
<a href="Head_(Unix)" title="Head (Unix)">head</a> |
<a href="Join_(Unix)" title="Join (Unix)">join</a> |
<a href="Message-Digest_Algorithm_5#Verwendung_und_Verfügbarkeit" title="Message-Digest Algorithm 5">md5sum</a> |
nl |
<a href="Od_(Unix)" title="Od (Unix)">od</a> |
paste |
ptx |
pr |
sha1sum |
<a href="Sed_(Unix)" title="Sed (Unix)">sed</a> |
<a href="Sort_(Unix)" title="Sort (Unix)">sort</a> |
<a href="Split_(Unix)" title="Split (Unix)">split</a> |
sum |
tac |
<a href="Tail_(Unix)" title="Tail (Unix)">tail</a> |
<a href="Tr_(Unix)" title="Tr (Unix)">tr</a> |
tsort |
unexpand |
uniq |
<a href="Wc_(Unix)" title="Wc (Unix)">wc</a>
</p>
</td></tr>
<tr>
<td class="erw-nav-gruppe" style="white-space: nowrap;text-align: right;border: 1px solid transparent;border-top: 1px solid #FFF;border-bottom: 1px solid #FFF;padding: 0 1em;"><b>Shell</b>
</td>
<td class="hlist" style="text-align: left;border-left: 2px solid #fdfdfd;width: 100%;margin: .4em 0;border-color: #fdfdfd;padding: 0 .25em;">
<p><a href="Basename" title="Basename">basename</a> |
<a href="Chroot" title="Chroot">chroot</a> |
<a href="Unixzeit#Unix-Befehle" title="Unixzeit">date</a> |
<a href="Dirname" title="Dirname">dirname</a> |
<a href="Du_(Unix)" title="Du (Unix)">du</a> |
<a href="Echo_(Informatik)" title="Echo (Informatik)">echo</a> |
<a href="Env" title="Env">env</a> |
<a href="Expr" title="Expr">expr</a> |
factor |
<a href="False_(Unix)" title="False (Unix)">false</a> |
groups |
hostid |
id |
link |
logname |
<a href="Nice_(Unix)" title="Nice (Unix)">nice</a> |
<a href="Nohup" title="Nohup">nohup</a> |
pathchk |
pinky |
<a href="Umgebungsvariable#Kommandozeile" title="Umgebungsvariable">printenv</a> |
<a href="Printf" title="Printf">printf</a> |
<a href="Pwd_(Unix)" title="Pwd (Unix)">pwd</a> |
readlink |
seq |
<a href="Sleep_(Kommandozeilenbefehl)" title="Sleep (Kommandozeilenbefehl)">sleep</a> |
stat |
stty |
<a href="Tee_(Unix)" title="Tee (Unix)">tee</a> |
<a href="Test_(Unix)" title="Test (Unix)">test</a> |
<a href="True_(Unix)" title="True (Unix)">true</a> |
tty |
<a href="Uname" title="Uname">uname</a> |
<a href="Rm_(Unix)#rm_und_unlink" title="Rm (Unix)">unlink</a> |
users |
<a href="Who_(Unix)" title="Who (Unix)">who</a> |
<a href="Whoami" title="Whoami">whoami</a> |
<a href="Yes_(Unix)" title="Yes (Unix)">yes</a>
</p>
</td></tr>
</tbody></table></div></div></div><!--htdig_noindex--><div><div class="zim-footer">
Dieser Artikel wurde von <a class="external text" title="Zuletzt bearbeitet am 2023-06-22" href="https://de.wikipedia.org/wiki/?title=Shred&oldid=234842485">Wikipedia</a> herausgegeben. Der Text ist unter <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.de">Creative Commons Attribution-Share Alike 4.0</a> verfügbar, sofern nicht anders angegeben. Für die Mediendateien können zusätzliche Bedingungen gelten.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>
</body></html>